<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Document</title><link rel="stylesheet" href="../font2/iconfont.css"><link rel="stylesheet" href="../css/index.css"><link rel="stylesheet" href="../css/zhuce2.css"></head><body><!-- 顶端 --><div class="all"><div class="nav"><section><span><a href="./denglu.html">登入</a></span> 或 <span><a href="">注册</a></span> <span><a href="">ANTA会员</a></span></section><section><a href="./guowuche.html"><span class="iconfont icon-gouwuche"></span></a> <span class="iconfont icon-kefu"></span> <span>EN</span></section></div><!-- 导航 --><div class="daohang"><a href="./anta.html"><img src="../img/anta_02.jpg" alt=""></a><ul><li><a href="./shangpin.html">冬奥国旗款</a></li><li class="left1"><a href="#">男子</a><!-- <ul>
                <li>
                    <div class="leftt">
                        <section>
                            <ul>
                                <li class="big">所有鞋类</li>
                                <li>运动鞋</li>
                                <li>跑鞋</li>
                                <li>篮球鞋</li>
                                <li>休闲鞋</li>
                                <li>板鞋</li>
                                <li>户外综训鞋</li>
                            </ul>
                        </section>
                        <section>
                            <ul>
                </li>
                <li class="big">套头卫衣</li>
                <li>外套夹克</li>
                <li>羽绒服/马甲</li>
                <li>短袖T恤</li>
                <li>长裤</li>
                <li>运动短裤</li>
            </ul>
            </section>
            <section>
                <ul>
                    <li class="big">所有配件</li>
                    <li>包类</li>
                    <li>运动袜子</li>
                </ul>
            </section>
            <section>
                <ul>
                    <li class="big">运动项目</li>
                    <li>跑步</li>
                    <li>篮球</li>
                    <li>综训</li>
                    <li>生活</li>
                    <li>健身</li>
                </ul>
            </section>
</div>
</li>
</ul>
</li> --></li><li class="center1"><a href="">女子</a><!-- <div class="center">
        <section>
            <ul>
                <li class="big">所有鞋类</li>
                <li>运动鞋</li>
                <li>跑鞋</li>
                <li>篮球鞋</li>
                <li>休闲鞋</li>
                <li>板鞋</li>
                <li>户外综训鞋</li>
            </ul>
        </section>
        <section>
            <ul>
</li>
<li class="big">套头卫衣</li>
<li>外套夹克</li>
<li>羽绒服/马甲</li>
<li>短袖T恤</li>
<li>长裤</li>
<li>运动短裤</li>
</ul>
</section>
<section>
<ul>
    <li class="big">所有配件</li>
    <li>包类</li>
    <li>运动袜子</li>
</ul>
</section>
</li> --></li><li class="right1"><a href="">儿童</a><!-- <div class="rightt">
        <section>
            <ul>
                <li class="big">所有鞋类</li>
                <li>运动鞋</li>
                <li>跑鞋</li>
                <li>篮球鞋</li>
                <li>休闲鞋</li>
                <li>板鞋</li>
                <li>户外综训鞋</li>
            </ul>
        </section>
        <section>
            <ul>
</li>
<li class="big">套头卫衣</li>
<li>外套夹克</li>
<li>羽绒服/马甲</li>
<li>袖T恤</li>
<li>长裤</li>
<li>运动短裤</li>
</ul>
</section>
</li> --></li><li><a href="">安踏儿童</a></li><li><a href="">品牌文化</a></li><li><a href="">观赏视频</a></li><li><a href="">联系我们</a></li></ul><section class="sousuo"><span class="iconfont icon-Magnifier"></span> <input type="text" placeholder="  搜索"></section></div><!-- 返回顶部 --><div class="dingbu"><section id="app"><span class="iconfont icon-fanhuidingbu"></span><p><a href="#">返回顶部</a></p></section><section><span class="iconfont icon-gouwuche"></span><p><a href="./guowuche.html">购物车</a></p></section><section><span class="iconfont icon-kefu"></span><p><a href="#">客服</a></p></section></div><!-- 背景图片 --><div class="image"><img src="../img/login-01.jpg" alt=""><div class="bigs"><ul><li class="left"><a href="./zhuce.html">手机注册</a><ul><li><div class="wai"><p>请输入邮箱地址注册：</p><input type="text" id="txt" name="username" placeholder="   邮箱地址"><span></span><br><input type="password" id="pass3" name="userpass" placeholder="   登陆密码"><br><input type="checkbox" id="dianji"><span>我已充分阅读、理解并接受<a href="" id="xinxi">个人信息保护政策</a>的全部内容</span><br><button id="btn">注册</button></div></li></ul></li><li class="right"><a href="./zhuce2.html">邮箱注册</a></li></ul></div><!-- 导航内容 --></div><!-- 尾页 --><div class="weiye"><span><img src="../img/anta_06.jpg" alt=""></span><section class="boss"><div class="big"><section>在线客服<span class="iconfont icon-kefu"></span></section></div><div class="two"><section>在线资讯<span>440-858-2020</span></section></div><p><img src="../img/com-qr-code.jpg" alt=""></p></section><div class="last"><span>Copyright(C)2012-2020 &nbsp;by&nbsp; www.ANTA.cn&nbsp;&nbsp; C安踏体育用品有限公司版权所有&nbsp;&nbsp; 营业执照&nbsp;&nbsp; 开户许可证个人信息保护政策</span><p>闽ICP备2021011550号-2闽公网安备35020302033806号</p></div></div></div></body></html><script src="../jquery/jquery.js"></script><script src="../lib/swiper-bundle.min.js"></script><script>$(window).on("scroll", function () {
        if ($(window).scrollTop() > 250) {
            $("#app").fadeIn(1000)
        } else {
            $("#app").fadeOut(1000)
        }
    })

    $("#app").on("click", function () {
        $("html,body").animate({  // 让body和html回到顶部
            scrollTop: 0
        }, 1000)
    })</script><script>//显示有无注册
    let flag =false;
   $("#txt").on("blur",function(){
    $.get('../img/php/checkUser.php',{"username":$("#txt").val()},function(data){
        console.log(data);
        if(data.trim()=="1"){
            $("#txt").next().html("邮箱未注册");
            flag=true;
        }else{
            $("#txt").next().html("邮箱已注册");
        }
    })
   })</script>
   <script>$("#btn").on("click", function () {
    if (flag == true && $('#dianji').prop("checked") == true) {
        $.post("../img/PHP/addUser.php", { "username": $("#txt").val(), 'userpass': $("#pass3").val() }, function (data) {
            console.log(data == "success");
            if (data.trim() == "success") {
                alert("注册成功")
            } else {
                alert("注册失败")
            }
        })
    } else {
        alert("是否勾选协议或已注册")
    }
    return false;
})</script>